Try and fix unbind_to when localness of binding has changed
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 May 2010 20:33:00 +0000 (16:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 May 2010 20:33:00 +0000 (16:33 -0400)
commit771f1c4127aa7c08d952a015381672054fc4b935
tree5fb4408bb76fa51f184d9365a1c0615b41ab73cb
parent4decacd20613492961f300788872c8c0eb96e225
Try and fix unbind_to when localness of binding has changed
* eval.c (unbind_to): Don't unbind a local binding into the global
binding when the local binding disappeared.  Inversely, don't unbind
a global binding into a newly created local binding.
* data.c (set_internal): Make its `buf' arg into a `where' arg so we
can specify the frame to use, when applicable.  Adjust callers.
src/ChangeLog
src/bytecode.c
src/data.c
src/eval.c
src/lisp.h